package com.gc.business.service;

import com.gc.business.domain.AnnualInspection;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 电梯年检管理 服务层
 * 
 * @author hruiyan
 * @date 2020-12-01
 */
public interface IAnnualInspectionService extends IService<AnnualInspection> {
    /**
    * 列表查询
    */
    List<AnnualInspection> list(AnnualInspection annualInspection,List<Long> collect);


    /**
     * 查询任务不同状态下的年检列表
     * @param attrId 所属公司ID
     * @param reviewType 0.待启动 1.待确定 2.确定完成
     * @param headUserId 接取任务的负责人ID
     * @return
     */
    public List<Map<String,Object>> selectAnnualInspectionList(Long attrId, String reviewType, Long headUserId);
}
